import { createRouter,createWebHistory } from "vue-router";

const routes=[
    {
        path:'/login',
        name:'login',
        component:()=>import('@/pages/Login.vue')
    },{
        path:'/register',
        name:'register',
        component:()=>import('@/pages/Register.vue')
    }
    ]

const route=createRouter({
    history:createWebHistory(),
    routes
})

export default route

